<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <!DOCTYPE html>
 <!-- 如果有一天你打开了这一页，请听一首歌   tell me who you are ? -->
 <!-- 如果你不是高手，千万不要怕难、因为我也不是高手,你说呢？sb -->
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title></title>
		<meta name="keywords" content="" />
		<meta name="description" content="" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<META HTTP-EQUIV="pragma" CONTENT="no-cache"> 
		<META HTTP-EQUIV="Cache-Control" CONTENT="no-store, must-revalidate"> 
		<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT"> 
		<META HTTP-EQUIV="expires" CONTENT="0"> 
		<!-- basic styles -->
		<link href="${pageContext.request.contextPath}/assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/font-awesome.min.css" />
		<!--[if IE 7]>
		  <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/font-awesome-ie7.min.css" />
		<![endif]-->
		<!-- page specific plugin styles -->
		<!-- fonts -->
		<!-- ace styles -->
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace-skins.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/jquery-ui-1.10.3.full.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/jquery-ui-1.10.3.custom.min.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/chosen.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/datepicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/bootstrap-timepicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/daterangepicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/colorpicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/ztree/css/zTreeStyle/zTreeStyle.css">
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/datepicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/bootstrap-timepicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/daterangepicker.css" />
		<link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/bootstrap-datetimepicker.min.css" />
		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="${pageContext.request.contextPath}/assets/css/ace-ie.min.css" />
		<![endif]-->
		<!-- inline styles related to this page -->
		<!-- ace settings handler -->
		<script src="${pageContext.request.contextPath}/assets/js/ace-extra.min.js"></script>
		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
		<!--[if lt IE 9]>
		<script src="${pageContext.request.contextPath}/assets/js/html5shiv.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/respond.min.js"></script>
		<![endif]-->
		 <!-- basic scripts -->
		<!--[if !IE]> -->
		
		<script src="${pageContext.request.contextPath}/assets/js/jquery-2.0.3.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script src="${pageContext.request.contextPath}/assets/js/jquery-1.10.2.min.js"></script>
		<![endif]-->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='${pageContext.request.contextPath}/assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
		<script type="text/javascript">
		 window.jQuery || document.write("<script src='${pageContext.request.contextPath}/assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
		</script>
		<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='${pageContext.request.contextPath}/assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="${pageContext.request.contextPath}/assets/js/bootstrap.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/typeahead-bs2.min.js"></script>
		<!-- page specific plugin scripts -->
		<!-- ace scripts -->
		<script src="${pageContext.request.contextPath}/assets/js/ace-elements.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/ace.min.js"></script>
		<!-- inline scripts related to this page -->
		<script src="${pageContext.request.contextPath}/assets/js/myValidate.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/common.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/grid.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/ajaxfileupload.js"></script>
		<script src="${pageContext.request.contextPath}/ztree/js/jquery.ztree.core-3.5.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/jquery-ui-1.10.3.full.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/jquery.ui.touch-punch.min.js"></script>		 
		<script src="${pageContext.request.contextPath}/assets/js/date-time/bootstrap-datepicker.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/date-time/bootstrap-timepicker.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/date-time/moment.min.js"></script>
		<script src="${pageContext.request.contextPath}/assets/js/date-time/daterangepicker.min.js"></script>	
		<script src="${pageContext.request.contextPath}/assets/js/date-time/bootstrap-datetimepicker.js"></script>	
		<script src="${pageContext.request.contextPath}/assets/js/bootstrap-datetimepicker.zh-CN.js"></script>	
		
	
		<style type="text/css">
		 *{
		   	font-size:12px;
		   }
		  form table tr td{
		  	text-align:right;
		  	  white-space: nowrap;
		  }
		
		</style>
		<script type="text/javascript">
		$(function(){
			$.ajaxSetup ({cache: false   //禁用缓存
			});
		});
		</script>
		<jsp:include page="myjs.jsp"></jsp:include>
	</head>

	<body style="display:none;">
	${sessinoScope.sysUser.table_id}
		<div class="navbar navbar-default" id="navbar">
			<script type="text/javascript">
				try{ace.settings.check('navbar' , 'fixed')}catch(e){}
			</script>

			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>
							<i class="icon-leaf"></i>
							微教育
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->

				<div class="navbar-header pull-right" role="navigation">
					<ul class="nav ace-nav">
						  
						 
					</ul><!-- /.ace-nav -->
				</div><!-- /.navbar-header -->
			</div><!-- /.container -->
		</div>

		<div class="main-container" id="main-container">
			<script type="text/javascript">
				try{ace.settings.check('main-container' , 'fixed')}catch(e){}
			</script>

			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>

				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>
					<ul class="nav nav-list"> 
						<li>
							<a id="fdjwrksdflsdf" href="javascript:;" class="dropdown-toggle">
								<i class="icon-list"></i>
								<span class="menu-text">功能菜单 </span>
								<b class="arrow icon-angle-down"></b>
							</a> 
							<ul class="submenu">
								<li>
									<a href="javascript:;" id="myClassStudent">
										<i class="icon-double-angle-right"></i>
										我的班级
									</a>
								</li> 
								<li>
									<a href="javascript:;" id="teacherWeekClass">
										<i class="icon-double-angle-right"></i>
										本周课表
									</a>
								</li> 
								<li>
									<a href="javascript:;" id="homeWorkComplet">
										<i class="icon-double-angle-right"></i>
										我的作业
									</a>
								</li> 
								 
							</ul>
						</li> 
					</ul><!-- /.nav-list -->

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
						$(".submenu").children().click(function(){
							$(".submenu").children().removeClass("active");
							$(this).addClass("active");
						});
					</script>
				</div>
				<div class="main-content">
					<div class="page-content">
						<div class="row">
							<div class="col-xs-12" id="indexContent">
								<!-- PAGE CONTENT BEGINS -->
											 
								<!-- PAGE CONTENT ENDS -->
							</div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->

				 <!-- /#ace-settings-container -->
			</div><!-- /.main-container-inner -->
 
		</div><!-- /.main-container --> 
<div id="user_include"></div>
<script type="text/javascript">
(function(){
	$("#userjsp").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/user.jsp?r="+Math.random(),{},function(){
			
		});
	});
	$("#teacherJsp").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/teacher.jsp?r="+Math.random(),{},function(){
			
		});
	});
	$("#studentJsp").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/student.jsp?r="+Math.random(),{},function(){
			
		});
	});
	$("#classJsp").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/class.jsp?r="+Math.random(),{},function(){
			
		});
	});
	$("#dictJsp").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/dict.jsp?r="+Math.random(),{},function(){
			
		});
	});
	
	$("#myClassTeacher").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/myClassTeacher.jsp?r="+Math.random(),{},function(){
			
		});
	});

	$("#myClassStudent").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/myClassStudent.jsp?r="+Math.random(),{},function(){
			
		});
	});
	$("#classPlant").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/classPlant.jsp?r="+Math.random(),{},function(){
			
		});
	});
	$("#sysLable").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/lable.jsp?r="+Math.random(),{},function(){
			
		});
	}); 
	$("#lreanPlantJsp").click(function(){
		$("#indexContent").load("${pageContext.request.contextPath}/learnPlant.jsp?r="+Math.random(),{},function(){
			
		});
	});  
	
	$("#teacherWeekClass").click(function(){ 
		$("#indexContent").load("${pageContext.request.contextPath}/teacherWeekPlant.jsp?r="+Math.random(),{},function(){
			
		});
	});
	
	$("#homeWorkTeacher").click(function(){ 
		$("#indexContent").load("${pageContext.request.contextPath}/homeWork.jsp?r="+Math.random(),{},function(){
			
		});
	});
	
	$("#homeWorkComplet").click(function(){ 
		$("#indexContent").load("${pageContext.request.contextPath}/homeWorkComplet.jsp?r="+Math.random(),{},function(){
			
		});
	}); 
	
	$("#myClassBegin").click(function(){ 
		$("#indexContent").load("${pageContext.request.contextPath}/myClassBegin.jsp?r="+Math.random(),{},function(){
			
		});
	}); 
	$(function(){
		$("body").show();
		$("#fdjwrksdflsdf").click();
	});
	$.ajaxSetup({ 
	    global: true,
	    type: "POST",
	    error:function(XMLHttpRequest, textStatus, errorThrown){
	    	alert("系统连接超时，或访问错误，退出登录!");
	    	//window.location.href="${pageContext.request.contextPath}/login.jsp";
	    }
	}); 
	if("${sessionScope.sysUser.table_id}"==""){
		//window.location.href="${pageContext.request.contextPath}/login.jsp";
	}
	
})();
</script>
</body>
</html>
 
